import Layout from "@/layout";

export default {
  path: "/permission",
  component: Layout,
  name: "permission",
  meta: {
    title: "权限管理",
    icon: 'tree'
  },
  children: [
    {
      path: "menu",
      component: () => import("@/views/permission/menu"),
      name: "menu",
      meta: {
        title: "菜单管理",
        icon: 'menu'
      },
    },
    {
      path: "role",
      component: () => import("@/views/permission/role"),
      name: "role",
      meta: {
        title: "角色管理",
        icon: 'role'
      },
    },
    {
      path: "user",
      component: () => import("@/views/permission/user"),
      name: "user",
      meta: {
        title: "用户管理",
        icon: 'user'
      },
    },
  ],
};
